package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 专业
 */
@Getter
@Setter
@Document(collection = "major_info")
public class MajorInfo extends EntityBase {

    /**
     * 专业名称
     */
    @Indexed
    private String name;
}
